package com.dream.keigezhushou.Activity.acty.login;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.Toast;

import com.dream.keigezhushou.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class FindPassActivity extends AppCompatActivity {

    @BindView(R.id.iv_return)
    ImageView ivReturn;
    @BindView(R.id.iv_delete_pass)
    ImageView ivDeletePass;
    @BindView(R.id.btn_get_test)
    Button btnGetTest;
    @BindView(R.id.btn_done)
    Button btnDone;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_find_pass);
        ButterKnife.bind(this);
    }

    @OnClick(R.id.iv_return)
    void setIvReturn(){
        finish();
    }

    @OnClick(R.id.btn_done)
    void setBtnDone(){

        //自定义toast提示密码修改成功
        LayoutInflater inflater = getLayoutInflater();
        View view = inflater.inflate(R.layout.layout_set_toast,null);
        Toast toast = new Toast(this);
        toast.setGravity(Gravity.CENTER,0,25);
        toast.setDuration(Toast.LENGTH_SHORT);
        toast.setView(view);
        toast.show();



    }
}
